<?php
	namespace app;
	
	use think\App;
	
	class MessagePrompt{
		public static function success($data,$code = 0,$msg = '返回消息'){
			$message = array(
				'code' => $code,
				'msg' => $msg,
				'data' => $data
			);
			return json_encode($message);
		}
	}